import './assets/main.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { $message } from '@/utils/message'
import App from './App.vue'
import router from './router'

const app = createApp(App)
// 注册全局消息方法
app.config.globalProperties.$message = $message
app.use(createPinia())
app.use(router)

app.mount('#app')
